package common.interceptor;


import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;
import core.toolbox.autoLogin.UserLogin;

/**
 * Created by Administrator on 2017/5/11.
 */
public class TestAutoLogin implements Interceptor {
    @Override
    public void intercept(Invocation invocation) {
        UserLogin.userlogin();
        invocation.invoke();
    }
}
